CREATE TABLE [dbo].[T_MEDICAL_FILE]
(
[MEDICAL_FILE_ID] [bigint] NOT NULL IDENTITY(1, 1),
[MEDICAL_FILE_NUMBER] [varchar] (25) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[MEDICAL_FILE_STATUS] [bit] NOT NULL,
[CREATE_DATE] [datetime] NOT NULL,
[DISABLE_DATE] [datetime] NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[T_MEDICAL_FILE] ADD CONSTRAINT [PK__T_MEDICA__165515EE09AD82CA] PRIMARY KEY CLUSTERED  ([MEDICAL_FILE_ID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[T_MEDICAL_FILE] ADD CONSTRAINT [UQ__T_MEDICA__CE947E8C18833248] UNIQUE NONCLUSTERED  ([MEDICAL_FILE_NUMBER]) ON [PRIMARY]
GO
